package com.dgshanger.sanhxiaofeisc.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.dgshanger.sanhxiaofeisc.R

/**
 * Created by JacobHHH on 2018/5/3.
 */
class SearchAdapter(layoutResId : Int, data : List<String>) : BaseQuickAdapter<String,BaseViewHolder>(layoutResId,data){

    override fun convert(helper: BaseViewHolder?, item: String?) {
        helper!!.setText(R.id.tv_history,item)
    }
}